package org.shop.service.impl;

import java.util.List;
import java.util.Map;

import org.shop.dao.AttentionMapper;
import org.shop.entity.Attention;
import org.shop.service.AttentionService;
import org.shop.service.base.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class AttentionServiceImpl extends BaseServiceImpl<Attention, Long> implements AttentionService{

	@Autowired
	private AttentionMapper attentionMapper;
	
	@Override
	public List<Attention> getAtternionList(Attention attention) {
		return attentionMapper.getAtternionList(attention);
	}
	@Override
	public List<Attention> getAtternionUserList(Attention attention) {
		return attentionMapper.getAtternionUserList(attention);
	}
	@Override
	public List<Attention> getAtternionShopList(Attention attention) {
		return attentionMapper.getAtternionShopList(attention);
	}
	@Override
	public int getMyFocusAndFansCount(Map<String, Object> paramMap) {
		return attentionMapper.getMyFocusAndFansCount(paramMap);
	}

}
